package com.example.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.dao.AddressAdminDao;
import com.example.pojo.AddressAdmin;
import com.example.service.AddressAdminService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(interfaceClass = AddressAdminService.class)
public class AddressAdminServiceImpl implements AddressAdminService {
    @Autowired
    private AddressAdminDao addressAdminDao;
    @Override
    public List<AddressAdmin> findAll() {
        return addressAdminDao.findAll();
    }
}
